using System;
using System.Collections.Generic;
using System.Text;

namespace Widgetsphere.Core.DataAccess
{
  public partial interface IPropertyDefine
  {
    int PropertyItemDefineId { get;}
    PropertyBagDataTypeConstants PropertyItemDataType { get;set;}
    string Name { get;set;}
    string MinimumValue { get;set;}
    string MaximumValue { get;set;}
    bool IsRequired { get;set;}
    int MaxLength { get;set;}
    string Group { get;set;}
    bool IsMaxLengthNull();
    bool IsMinimumValueNull();
    bool IsMaximumValueNull();
    int SortIndex { get;set;}
    BusinessObjectList<IBusinessObject> PropertyItemList { get;}
  }

  public enum PropertyBagDataTypeConstants
  {
    STRING = 1,
    INTEGER = 2,
    BOOLEAN = 3,
    DECIMAL = 4,
    DATETIME = 5,
  }

}
